package com.dingyh.shopwebbackground.service.impl;

import com.dingyh.shopwebbackground.entity.StockOut;
import com.dingyh.shopwebbackground.mapper.StockOutMapper;
import com.dingyh.shopwebbackground.service.StockOutService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dingyuhan
 * @since 2023-02-21
 */
@Service
public class StockOutServiceImpl extends ServiceImpl<StockOutMapper, StockOut> implements StockOutService {

    @Autowired
    StockOutMapper stockOutMapper;

    public List<StockOut> getAllStockOut(Map<String,Object> map) {
        return stockOutMapper.getAllStockOut(map);
    }
}
